﻿using AutoMapper;
using S.PregnancyTest.API.Application.Command;
using S.PregnancyTest.API.Dto;
using S.PregnancyTest.Domain.Model;

namespace S.PregnancyTest.API.Extensions.AutoMapper
{
    public class SetProfile : Profile
    {

        public SetProfile()
        {
            //种母妊检添加
            CreateMap<AddPregnancyTestDto, PregnancyTestModel>();

            //种母妊检批量添加
            CreateMap<AddPregnancyTestDto, PregnancyTestModel>();

            //种母妊检修改
            CreateMap<PregnancyTestUpdateCommand, PregnancyTestModel>();
        }
    }
}
